// fc_tab.js
function selectTags(tagid, showContent,selfObj){
	// 操作标签
	var tag = document.getElementById(tagid).getElementsByTagName("li");
	var taglength = tag.length;
	for(i=0; i<taglength; i++){
		tag[i].className = "";
	}
	selfObj.parentNode.className = "selectTags";
	// 操作内容
	for(i=0; j=document.getElementById("tagContents"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent).style.display = "block";
};

function selectTag1s(tagid, showContent,selfObj){
	// 操作标签
	var tag = document.getElementById(tagid).getElementsByTagName("li");
	var taglength = tag.length;
	for(i=0; i<taglength; i++){
		tag[i].className = "";
	}
	selfObj.parentNode.className = "selectTag1s";
	// 操作内容
	for(i=0; j=document.getElementById("tag1Contents"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent).style.display = "block";
};

function selectTag2s(tagid, showContent,selfObj){
	// 操作标签
	var tag = document.getElementById(tagid).getElementsByTagName("li");
	var taglength = tag.length;
	for(i=0; i<taglength; i++){
		tag[i].className = "";
	}
	selfObj.parentNode.className = "selectTag2s";
	// 操作内容
	for(i=0; j=document.getElementById("tag2Contents"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent).style.display = "block";
};


function selectTag7s(tagid, showContent,selfObj){
	// 操作标签
	var tag = document.getElementById(tagid).getElementsByTagName("li");
	var taglength = tag.length;
	for(i=0; i<taglength; i++){
		tag[i].className = "";
	}
	selfObj.parentNode.className = "selectTag7s";
	// 操作内容
	for(i=0; j=document.getElementById("tag7Contents"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent).style.display = "block";
};

function selectTag8s(tagid, showContent,selfObj){
	// 操作标签
	var tag = document.getElementById(tagid).getElementsByTagName("li");
	var taglength = tag.length;
	for(i=0; i<taglength; i++){
		tag[i].className = "";
	}
	selfObj.parentNode.className = "selectTag8s";
	// 操作内容
	for(i=0; j=document.getElementById("tag8Contents"+i); i++){
		j.style.display = "none";
	}
	document.getElementById(showContent).style.display = "block";
};

//跳转菜单的JS
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
};